<!--{include wap_header}-->
<h2>Giỏ hàng</h2>
<p><a href="myorder.php">Đã thanh toán</a>&nbsp;|&nbsp;<a href="myorder.php?s=unpay">Chưa thanh toán</a></p>
<h2>Details of order</h2>
<p>Sản phẩm <a href="team.php?{$team['id']}">{$team['title']}</a></p>
<p>Mã đơn hàng # {$order['code']}</p>
<p>Đặt lúc ${date('d-m-Y H:i',$order['create_time'])}</p>
<h2>Chi tiết</h2>
<p>Giá ${formatMoney($order['price'],0)}</p>
<p>Số lượng {$order['quantity']}</p>
<p>Phí vận chuyển ${$express?moneyit($team['fare']):0}</p>
<p>Tổng tiền ${formatMoney($order['origin'],0)}</p>
<h2>Thông tin giao phiếu</h2>
<!--{if $team['delivery']=='coupon'}-->
<table cellspacing="0" cellpadding="0" border="0" class="data-table">
    <tr>
        <td align="right">{$INI['system']['couponname']}</th>
        <td class="other-coupon"><!--{if empty($coupons)}-->{$INI['system']['couponname']}would be sent by the system automatically after the deal tipped，Issued automatically by the system<!--{/if}--><!--{loop $coupons $one}--><p>{$one['id']} - {$one['secret']}</p><!--{/loop}--></td>
    </tr>
    <tr>
        <td align="right">using method：</th>
        <td>For consumption, please show{$INI['system']['couponname']}，and verify the coupon No. and code with the biz.</td>
    </tr>
</table>
<!--{elseif $team['delivery']=='express'}-->
<table cellspacing="0" cellpadding="0" border="0" class="data-table">
    <tr>
        <td align="left" width="30%"> Tình trạng</td>
	<!--{if $order['express_id']}-->
        <td>{$option_express[$order['express_id']]}{$order['express_no']}</td>
	<!--{else}-->
        <td class="other-coupon" width="70%">Chờ giao phiếu</td>
	<!--{/if}-->
    </tr>
    <tr>
        <td align="left">Người nhận phiếu</td>
        <td>{$order['realname']}</td>
    </tr>
    <tr>
        <td align="left">Địa chỉ</td>
        <td>{$order['address']}</td>
    </tr>
    <tr>
        <td align="left">Số điện thoại</td>
        <td>{$order['mobile']}</td>
    </tr>
</table>
<!--{elseif $team['delivery']=='pickup'}-->
<table cellspacing="0" cellpadding="0" border="0" class="data-table">
    <tr>
        <td align="left">self dilevery：</td>
        <td class="other-coupon"></td>
    </tr>
    <tr>
        <td align="right">location of the biz：</td>
        <td>{$team['address']}</td>
    </tr>
    <tr>
        <td align="right">telphone：</td>
        <td>{$team['mobile']}</td>
    </tr>
</table>
<!--{/if}-->

<!--{include wap_footer}-->
